package com.sinog.alarm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @desc 全量数据交互数据库配置 - 配置
 * @author lzq
 * @date 2020-10-16 2:01 下午
 */
@ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource.db1")
@Component
@Data
public class DataBase1Properties {

    private String driverClassName;
    private String url;
    private String username;
    private String password;
}